# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=libusb-moded-qt
pkgver=1.9
pkgrel=2
pkgdesc="Mer's libusb-moded-qt"
url="https://github.com/sailfishos/libusb-moded-qt"
arch="all"
license="BSD-2-Clause"
depends_dev="
	qt5-qtbase-dev
	usb-moded-dev
	"
makedepends="$depends_dev"
subpackages="$pkgname-dev"
source="https://github.com/sailfishos/libusb-moded-qt/archive/$pkgver/libusb-moded-qt-$pkgver.tar.gz"

build() {
	qmake-qt5 PREFIX=/usr
	make
}

package() {
	INSTALL_ROOT="$pkgdir" make install
}

sha512sums="
24cfe2d83d0b371f5ba490fc5c23ca6931705d9cf65b70a571848465390377cf01763b80e9c6a1f0e5f7a428f6b945cbbe4577cb6153de74d84f2c436e1e48e7  libusb-moded-qt-1.9.tar.gz
"
